import React, { useEffect } from "react"

export default function Test(props) {
  console.log();
  useEffect(() => {
    console.log("test组件挂载/更新了")
    return () => {
      console.log("test卸载了")
    }
  },[])
  return <div>Test组件{props.count}</div>
}
